package com.zsrt.t03;


import org.junit.Test;

public class T03Test {
	
	/**
	 * 判断是否成年
	 */
	@Test
	public void chengNian() throws Exception {
		
		T03 t=new T03();
		boolean flag = t.chengNian(18);
		if(flag=true){
			System.out.println("是成年人了");
		}else{
			System.out.println("还没成年");
		}
		
		
	}
}
